package com.starbaba.collaborate.service;

import com.starbaba.collaborate.db.LoanCollaborateModel;
import com.starbaba.collaborate.model.CollaborateInfo;
import com.starbaba.collaborate.model.CollaborateResult;
import com.starbaba.core.web.page.PageRequest;
import com.starbaba.core.web.page.PageResponse;
import com.tuanzi.server.loan_base.model.db.stat.StatCommActivityRegister;

import java.util.List;
import java.util.Map;


public interface CollaborateService {
	public CollaborateResult updateCollaborateInof(String username,String channel,Integer ratio);
	
	public List getCollaborateList(Integer start, Integer length, PageResponse pageResponse, Map<String, Object> paramsMap,String userid) throws Exception;
	
	public String exportCollaborateListCVS(List<LoanCollaborateModel> list);

	public void showpage(Map<String, Object> paramsMap, String userid);
	
	public void showCollabPage(Map<String, Object> paramsMap, String userid);
	
	public List<StatCommActivityRegister> getCollabRegisterList(PageRequest pagerequest,PageResponse pageResponse, Map<String, Object> paramsMap,String userid)throws Exception;
	
	public String exportCollaborateRegisterListCVS(List<StatCommActivityRegister> list);
	
	public void showTableTypePage(Map<String,Object> paramsMap);
	
	public List<CollaborateInfo> getCollaborateChannelRatioList(PageRequest pagerequest,PageResponse pageResponse,Map<String, Object> paramsMap)throws Exception;
	
	public CollaborateResult updatetable(String channel_id,String table_type);
	
}
